home *** CD-ROM | disk | FTP | other *** search
- Path: oxy.rust.net!usenet
- From: ebennett@rust.net
- Newsgroups: comp.lang.c
- Subject: Re: Pound defines
- Date: Wed, 17 Jan 1996 05:58:14 GMT
- Organization: Rust Net - High Speed Internet in Detroit 810-642-2276
- Message-ID: <4dhoil$ioj@oxy.rust.net>
- References: <4dgquf$fuq@bmerhc5e.bnr.ca>
- NNTP-Posting-Host: liv-10.rust.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- studnt1@bmerhe78.bnr.ca (Jean Giblin ) wrote:
-
- >hello everyone:
-
- > I was wondering if anybody out there knows about a C command that prints the
- >the name of the define when given the number. Example:
-
- > #define MAX 20
-
- >when given 20 it will return max.
-
- Sorry, ain't no such animal. A symbol defined via #define is only
- seen by the compiler. By the time you get down to executable code, the
- string MAX does not exist anywhere that I know of.
-
- Earl
-
-
-